<%@ include file="/taglibs.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<head>
	<title>北京邮电大学学生党员在线学习中心</title>
	<link href="${ctx}/css/pagination.css" rel="stylesheet" type="text/css" />
	
	<script type="text/javascript">
	String.prototype.trim = function()
	{
	  return this.replace(/(^\s*)|(\s*$)/g, "");
	}
	
	function check() {
		              
		   var adminGender = document.form1.adminGender.value.toString();//性别
		   var adminNationality = document.form1.adminNationality.value.toString();//民族
		   var telephone = document.form1.telephone.value.toString();//电话号码
		   var email = document.form1.email.value.toString();//邮箱
		   
		   
		   
 	    	if(adminGender == 0) {
			       alert('请选择性别！');
			       document.form1.adminGender.focus();
			       return false;
			        
		   }else if(adminNationality==0){
			   alert('请选择民族!');
		       document.form1.adminNationality.focus();
		       return false;
		   }
	
		}
				
	
	</script>

	<script type="text/javascript">
		function returnAdminList(highLevelQuery,queryContent,firstPa,secondPa,pageNow) {
				window.location.href = "${ctx}/AdminAction_adminList?highLevelQuery="+highLevelQuery+"&queryContent="+encodeURI(queryContent)+"&firstPa="+firstPa+"&secondPa="+secondPa+"&pageNow="+pageNow; 
			}
	</script>
	
	
	
</head>
<div id="nav_bar">
    <img id="nav_bar_left" src="../../../styles/nav_bar_left.png" alt=""/>
    <div id="welcome_label">欢迎您，&nbsp;<s:property value="#session.session_user.adminName" />!</div>
    <img id="nav_bar_seperator" src="../../../styles/nav_bar_seperator.png" alt=""/>
    <div id="nav_location">
        <img id="nav_bar_point" src="../../../styles/nav_bar_point.png" alt="" />
        <div id="nav_cur_location">当前位置：&nbsp;<a href="${ctx}/AdminAction_manageUser" >用户管理</a>&nbsp;&nbsp;>&nbsp;&nbsp;<a href="AdminAction_adminList">管理员信息维护</a>&nbsp;&nbsp;>&nbsp;&nbsp;修改管理员信息</div>
    </div>
    <img style="float:right; width:5px;" src="../../../styles/nav_bar_right.png" alt=""/>
    <a id="nav_logout" href="${ctx}/logoutAction_adminLogout">[安全退出]</a>
</div>
<div style="clear:both; height:5px;">&nbsp;</div>

<div style="min-height:450px;">
	<div id="side_menu">
	    <div id="side_menu_title">
	        <img src="../../../styles/side_menu_title_img.png" alt="" />
	        <span>用户管理</span>
	    </div>
	    <div id="side_menu_title_bottom">&nbsp;</div>
	    <div class="side_sub_menu">
	        <div class="side_menu_point">&nbsp;</div>
	        <a href="AdminAction_memberList">成员信息维护</a>
	    </div>
	    <div class="side_menu_seperator">&nbsp;</div>
	    <div class="side_sub_menu">
	        <div class="side_menu_point">&nbsp;</div>
	        <a href="AdminAction_addStudent">新增学生用户</a>
	    </div>
	    <div class="side_menu_seperator">&nbsp;</div>
	    <div class="side_sub_menu">
	        <div class="side_menu_point">&nbsp;</div>
	        <a href="AdminAction_resetUserPassword">用户密码重置</a>
	    </div>
	    <div class="side_menu_seperator">&nbsp;</div>
	    <s:if test="#session.level == 2 || #session.level == 3">
	    <div class="side_sub_menu">
	        <div class="side_menu_point">&nbsp;</div>
	        <a href="AdminAction_addAdministrator">新增管理员用户</a>
	    </div>
	    <div class="side_menu_seperator">&nbsp;</div>
	    <div class="side_sub_menu_focus">
	        <div class="side_menu_point">&nbsp;</div>
	        <a href="AdminAction_adminList">管理员信息维护</a>
	    </div>
	    </s:if>
	</div>
	
	<div id="main_content">
	    <div id="main_content_title">
	        <img src="../../../styles/content_title_img.png" alt="" />
	        <span>修改管理员信息</span>
	    </div>
	    <div class="main_content_title_bottom">&nbsp;</div>


		<p align="center">
			<font color=red><b>保存成功！</b></font>
		</p>
	
		<br> 
	
		<p align="center">
			<input id="history" name="history" type="button" class="input-button"
				value="返回"
				onclick="javascript:returnAdminList('<s:property value="highLevelQuery"/>','<s:property value="queryContent"/>','<s:property value="firstPaHidden"/>','<s:property value="secondPaHidden"/>','<s:property value="pageNow"/>');" />
		</p>
	
	</div>
	
</div>
